package encore.portal.container.impl;

import java.io.IOException;

import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import javax.portlet.EventRequest;
import javax.portlet.EventResponse;
import javax.portlet.Portlet;
import javax.portlet.PortletContext;
import javax.portlet.PortletException;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import javax.portlet.ResourceRequest;
import javax.portlet.ResourceResponse;

import encore.portal.container.FilterManager;
import encore.portal.container.PortletWindow;
import encore.portal.portlet.filter.FilterChainImpl;
import encore.portal.portlet.models.PortletApplicationDefinition;
import encore.portal.portlet.models.PortletDefinition;

public class FilterManagerImpl implements FilterManager {
    private FilterChainImpl filterChain;
    private PortletApplicationDefinition portletApplicationDefinition;
    private String portletName;
    private String lifeCycle;
    
    public FilterManagerImpl(PortletWindow portletWindow,String lifeCycle)
    {
       PortletDefinition portletDefinition=portletWindow.getPortletDefinition();
       this.portletApplicationDefinition=portletDefinition.getApplication();
       this.portletName=portletDefinition.getPortletName();
       this.lifeCycle=lifeCycle;
       filterChain=new FilterChainImpl(lifeCycle);
       initFilterChain();
       
    	
    }
	
	
	private void initFilterChain() {
		// TODO Auto-generated method stub
		
	}


	@Override
	public void processFilter(ActionRequest actionRequest,
			ActionResponse actionResponse, Portlet portlet,
			PortletContext portletContext) throws PortletException, IOException {
		// TODO Auto-generated method stub

	}

	@Override
	public void processFilter(RenderRequest renderRequest,
			RenderResponse renderResponse, Portlet portlet,
			PortletContext portletContext) throws PortletException, IOException {
		// TODO Auto-generated method stub

	}

	@Override
	public void processFilter(ResourceRequest resourceRequest,
			ResourceResponse resourceResponse, Portlet portlet,
			PortletContext portletContext) throws PortletException, IOException {
		// TODO Auto-generated method stub

	}

	@Override
	public void processFilter(EventRequest eventRequest,
			EventResponse eventResponse, Portlet portlet,
			PortletContext portletContext) throws PortletException, IOException {
		// TODO Auto-generated method stub

	}

}
